package encore.log.impl;

import java.util.Iterator;

import encore.log.Marker;

public class MarkerImpl implements Marker {
	
	private  org.slf4j.Marker marker;
	
	
	public MarkerImpl(org.slf4j.Marker marker)
	{
	  this.marker=marker;
	}
	
	public org.slf4j.Marker getMarker() {
		return marker;
	}

	public void setMarker(org.slf4j.Marker marker) {
		this.marker = marker;
	}

	public void add(Marker paramMarker) {
       marker.add(((MarkerImpl)paramMarker).getMarker());
	}

	public boolean contains(Marker paramMarker) {
		// TODO Auto-generated method stub
		return marker.contains(((MarkerImpl)paramMarker).getMarker());
	}

	public boolean contains(String paramString) {
		// TODO Auto-generated method stub
		return marker.contains(paramString);
	}

	public String getName() {
		// TODO Auto-generated method stub
	   return marker.getName();
	}

	@Deprecated
	public boolean hasChildren() {
		// TODO Auto-generated method stub
		return marker.hasChildren();
	}

	public boolean hasReferences() {
		// TODO Auto-generated method stub
		return marker.hasReferences();
	}
	

	@SuppressWarnings("unchecked")
	public Iterator iterator() {
		// TODO Auto-generated method stub
		return marker.iterator();
	}

	public boolean remove(Marker paramMarker) {
		// TODO Auto-generated method stub
		return marker.remove(((MarkerImpl)paramMarker).getMarker());
	}

}
